package com.roncoo.education.db.dao;

import com.roncoo.education.db.entity.ProductImage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductImageDao {

    Integer insert(ProductImage news);

    List<ProductImage> findByBean(ProductImage news);

    ProductImage findById(Integer id);

    Integer findByBeanCount(ProductImage news);

    void deleteById(ProductImage news);

    void deleteByBean(ProductImage news);

    void updateById(ProductImage news);

}
